package com.example.whatrubbish.service;

import com.example.whatrubbish.model.ReceiverAddress;
import com.example.whatrubbish.utils.DemoException;

import java.util.Date;
import java.util.List;

public interface ReceiverAddressService {
    int deleteByPrimaryKey(Long id);

    int insertSelective(ReceiverAddress record) throws DemoException;

    ReceiverAddress selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ReceiverAddress record) throws DemoException;

    List<ReceiverAddress> getByUserId(String userId);
}
